// import { getInitMenus } from '@/api/yonhuxinxi'
import { findAllBrand } from '@/api/product/judge/index.js'

const state = {
  list: []
}
const mutations = {
  findAllBrand(state, sisui) {
    state.list = sisui
  }
}
const actions = {
  async sisui({ commit }) {
    const xinxi = await findAllBrand()
    console.log(xinxi)
    if (xinxi.success) {
      commit('findAllBrand', xinxi.data.items)
    }
  }
}
const getter = {}

export default {
  state,
  mutations,
  actions,
  getter
}
